package com.jw.system.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class ContractVO {

    private Long id;

    private Long userId;

    private String username;

    private Long cusId;

    private String cusName;

    private String date;

    private String file;

    private Integer staus;

    private String finishDate;

    private String deadline;

    private String phone;

    private String address;

    private String name;

    private String conNum;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    //剩余天数
    private Long deadDays;

    private Long salesmanId;

    private String salesmanName;

    private Long auditorId;

    private String auditorName;

    private List<Object> products=new ArrayList<>();

    private Integer price;

}
